package cn.itcast.concurrent.disruptor;

import com.lmax.disruptor.EventHandler;

/**
 * 事件处理器
 */
public class LongEventHandler implements EventHandler<LongEvent> {
    @Override
    public void onEvent(LongEvent longEvent, long l, boolean b) throws Exception {
        System.out.println(longEvent.getValue());
    }
} 